package cn.legend.travel.admin.authorize.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
public class UserLoginResultVO implements Serializable {

    private static final long serialVersionUID = -2116342891473245252L;

    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("Token（JWT）")
    private String token;

    @ApiModelProperty("权限清单")
    private List<String> authorities;

}
